package Library.Events;

import java.awt.event.*;

/**
 *
 */
public class ArmySizeEvent extends ActionEvent
{
    /**
     *
     * @param source
     * @param id
     * @param command
     * @param armies
     * @param bonusArmies
     */
    public ArmySizeEvent(Object source, int id, String command, int armies, int bonusArmies)
    {
	super(source, id, command);
	m_Armies = armies;
	m_BonusArmies = bonusArmies;
    }
    
    /**
     *
     * @param source
     * @param id
     * @param command
     * @param modifiers
     * @param armies
     * @param bonusArmies
     */
    public ArmySizeEvent(Object source, int id, String command, int modifiers, int armies, int bonusArmies)
    {
	super(source, id, command, modifiers);
	m_Armies = armies;
	m_BonusArmies = bonusArmies;
    }
    
    /**
     *
     * @param source
     * @param id
     * @param command
     * @param when
     * @param modifiers
     * @param armies
     * @param bonusArmies
     */
    public ArmySizeEvent(Object source, int id, String command, long when, int modifiers, int armies, int bonusArmies)
    {
	super(source, id, command, when, modifiers);
	m_Armies = armies;
	m_BonusArmies = bonusArmies;
    }
    
    private int m_Armies;
    /**
     *
     * @return
     */
    public int getArmies()
    {
	return m_Armies;
    }
    
    private int m_BonusArmies;
    /**
     *
     * @return
     */
    public int getBonusArmies()
    {
	return m_BonusArmies;
    }
}
